package Error;

import interfaces.ErrorReport;

public class StandardError implements ErrorReport {
	private String message;
	private ErrorType type;
	
	public StandardError(String message, ErrorType type) {
		this.message = message;
		this.type = type;
	}
	
	@Override
	public String getErrorMessage() {
		return message;
	}

	@Override
	public ErrorType getType() {
		return type;
	}

}
